package pt.uma.gap.graph;

import java.util.ArrayList;
import java.util.List;

/*
 * This stores the information about class node
 */
public class ClassNode {

	private String name;
	private String packageName;
	private List<MethodNode> methodNodeList = new ArrayList<MethodNode>();

	public void setName(String className) {
		this.name = className;
		
	}
	public String getName() {
		return name;
	}
	public void setMethodNodeList(List<MethodNode> methodNodeList) {
		this.methodNodeList = methodNodeList;
	}

	public List<MethodNode> getMethodNodeList() {
		return methodNodeList;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public String getPackageName() {
		return packageName;
	}
	public void addMethodNode(MethodNode methodNode) {
		methodNodeList.add(methodNode);
		
	}
	public String getFullName() {
		
		return getPackageName() + "." + getName();
	}

}
